package com.daiqee.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 产品报价
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午5:46:10
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName(value="production_prise")
public class ProductionPrise extends LogicDeleteFlag{
	
	@TableId(type=IdType.AUTO)
    private Integer prodId;    			//产品id号

    private String  prodName;   		//品名

    private String  prodModel;  		//型号

    private String  prodSpecifications; //规格

    private String  prodSize;			//尺寸

    private String  prodWeight;			//重量
   
    private String  prodMaterials; 		//用料

    private String  prodType; 			//种类

    private String  prodUnit; 			//单位

    private String  prodImportFlag;		//是否进口

    private Integer prodPrice;			//价格

    private Integer prodSupplierId; 	//产品所属的供应商id号

    @TableField(exist=false)
    private String supplierName;		//供应商名称
    
    @TableField(exist=false)
    private Integer buyCount;			//产品的采购数量,这个字段是用来接收数据的
    									//实际数据库中并不存在该字段
    
	public Integer getBuyCount() {
		return buyCount;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public void setBuyCount(Integer buyCount) {
		this.buyCount = buyCount;
	}

	public Integer getProdId() {
        return prodId;
    }

    public void setProdId(Integer prodId) {
        this.prodId = prodId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName == null ? null : prodName.trim();
    }

    public String getProdModel() {
        return prodModel;
    }

    public void setProdModel(String prodModel) {
        this.prodModel = prodModel == null ? null : prodModel.trim();
    }

    public String getProdSpecifications() {
        return prodSpecifications;
    }

    public void setProdSpecifications(String prodSpecifications) {
        this.prodSpecifications = prodSpecifications == null ? null : prodSpecifications.trim();
    }

    public String getProdSize() {
        return prodSize;
    }

    public void setProdSize(String prodSize) {
        this.prodSize = prodSize == null ? null : prodSize.trim();
    }

    public String getProdWeight() {
        return prodWeight;
    }

    public void setProdWeight(String prodWeight) {
        this.prodWeight = prodWeight;
    }

    public String getProdMaterials() {
        return prodMaterials;
    }

    public void setProdMaterials(String prodMaterials) {
        this.prodMaterials = prodMaterials == null ? null : prodMaterials.trim();
    }

    public String getProdType() {
        return prodType;
    }

    public void setProdType(String prodType) {
        this.prodType = prodType == null ? null : prodType.trim();
    }

    public String getProdUnit() {
        return prodUnit;
    }

    public void setProdUnit(String prodUnit) {
        this.prodUnit = prodUnit == null ? null : prodUnit.trim();
    }

    public String getProdImportFlag() {
        return prodImportFlag;
    }

    public void setProdImportFlag(String prodImportFlag) {
        this.prodImportFlag = prodImportFlag == null ? null : prodImportFlag.trim();
    }

    public Integer getProdPrice() {
        return prodPrice;
    }

    public void setProdPrice(Integer prodPrice) {
        this.prodPrice = prodPrice;
    }

    public Integer getProdSupplierId() {
        return prodSupplierId;
    }

    public void setProdSupplierId(Integer prodSupplierId) {
        this.prodSupplierId = prodSupplierId;
    }
}